// eslint-disable-next-line no-undef
console.log(`%c 当前环境为 ${ENVIRONMENT}`, "background:#ff69b4;color:#fff");

// eslint-disable-next-line no-undef
export default getDomain(ENVIRONMENT);

function getDomain(env) {
  const dev = {
    ENVIRONMENT: env,
    CLOUD_SERVICE: "cloud1-9g3mjxl2b84ced34",
    DOMAIN: "https://marinesupplier.cn/api/",
    DOMAING_CGY: "https://marinesupplier.cn/api/",
  };
  const prod = {
    ENVIRONMENT: env,
    CLOUD_SERVICE: "cloud1-9g3mjxl2b84ced34",
    DOMAIN: "https://marinesupplier.cn/api/",
    DOMAING_CGY: "https://marinesupplier.cn/api/",
  };

  switch (env) {
    case "development":
      return dev;
    case "production":
      return prod;
  }
}
